home *** CD-ROM | disk | FTP | other *** search
- package Local.Game.Thing
- {
- import Local.Game.World.CAngle;
- import Local.Game.World.CPosition;
- import Local.Math.CRandom;
-
- public class CStrike extends CThingSprite
- {
-
-
- public function CStrike(param1:CPosition)
- {
- if(true)
- {
- super();
- if(true)
- {
- mBaseType = "strike";
- if(true)
- {
- mAngle = new CAngle();
- if(true)
- {
- mPosition = param1;
- if(true)
- {
- mDelta = new CPosition();
- mRandom = new CRandom(nID);
- }
- zDepth = 110;
- }
- mSpeed = 0;
- }
- mOrientation = 1;
- }
- mShowOnMap = true;
- }
- }
-
- public function State_WAIT() : void
- {
- if(mStateCount < 0)
- {
- SetState(mReturnStateID);
- }
- }
-
- public function State_WAIT_Exit() : void
- {
- }
-
- public function State_WAIT_Enter() : void
- {
- mSpeed = 0;
- }
- }
- }
-